package com.liu.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by liu on 17-10-27.
 */
@Entity
@Table(name = "VoteCount")
public class VoteCount {
    @Id
    private int id;             //
    private int topicId;     //主题表id
    private int roomId;      //寝室id
    private int count;          //投票计数
    private String img;          //寝室图片
    private String descript;      //对寝室的描述

    private String fang;           //页面显示的寝室

    public String getFang() {
        return fang;
    }

    public void setFang(String fang) {
        this.fang = fang;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getTopicId() {
        return topicId;
    }

    public void setTopicId(int topicId) {
        this.topicId = topicId;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public int getRoomId() {
        return roomId;
    }

    public void setRoomId(int roomId) {
        this.roomId = roomId;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getDescript() {
        return descript;
    }

    public void setDescript(String descript) {
        this.descript = descript;
    }
}
